<?php
include_once 'inc/config.inc.php';
include "inc/mysql.inc.php";
include_once 'inc/tool.ins.php';
$template['title'] = '学生信息删除';
if(!empty($_GET['id']))
{
        $num=$_GET['id'];
        $sql6="delete from student where sid='$num'";
        $link = connect();

        $rs6=execute($link,$sql6);
        if ($rs6==1) {
        	skip('widgets.php','glyphicon-ok-sign','删除成功');

        }else{
        	skip('widgets.php','glyphicon-remove-sign','删除失败');
        }
}
?>
